<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use App\BaseModel as Eloquent;

/**
 * Class PartnerConfig
 * 
 * @property int $id
 * @property int $partner_id
 * @property string $partner_name
 * @property int $game_type
 * @property int $jackpot
 * @property int $status
 * @property \Carbon\Carbon $start_time
 * @property \Carbon\Carbon $end_time
 * @property bool $maintaining
 * @property bool $is_hot
 * @property int $sort
 * @property bool $top_hot
 * @property int $top_sort
 * @property string $remark
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class PartnerConfig extends Eloquent
{
	protected $table = 'partner_config';

	protected $casts = [
		'partner_id' => 'int',
		'game_type' => 'int',
		'jackpot' => 'int',
		'status' => 'int',
		'maintaining' => 'bool',
		'is_hot' => 'bool',
		'sort' => 'int',
		'top_hot' => 'bool',
		'top_sort' => 'int'
	];

	protected $dates = [
		'start_time',
		'end_time'
	];

	protected $fillable = [
		'partner_id',
		'partner_name',
		'game_type',
		'jackpot',
		'status',
		'start_time',
		'end_time',
		'maintaining',
		'is_hot',
		'sort',
		'top_hot',
		'top_sort',
		'remark'
	];
}
